﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityFrameworks.Entity.Core.Extensions
{
    /// <summary>
    /// IEnumberable扩展方法
    /// </summary>
    public static class EnumerableExtensions
    {
        public static void Each<T>(this IEnumerable<T> enumerable, Action<T> action)
        {
            enumerable.ToList().ForEach(action);
        }
    }
}
